mod download;
mod parse_conf;
mod progress;
mod run_cmd;
mod slogan;
mod str_utils;
mod types;
mod dispatch;
use slogan::print_my_slogan;

#[allow(unused)]
fn main() {
    print_my_slogan();
    let urls_vec = parse_conf::parse_conf();
    // println!("{:?}",urls_vec);
    // 遍历 url 进行下载
    for value in urls_vec {
        let result = download::download_with3(value);
    }
    // let result = download::download(String::from(
    //     "https://www.voidtools.com/Everything-1.4.1.1009.x64.zip",
    // ));
    //   let result_body = download::down(String::from("https://www.baidu.com/"));
}
